<script>
import KtTable from "/src/components/kantboot/components/KtTable/KtTable.vue";
import columns from "./config/columns.config.js"

export default {
  components: {KtTable},
  data() {
    return {
      columns,
      requestParam: {
        data:{},
        pageNumber: 1,
        pageSize: 10
      },
      bodyData: {
        content:[
          {
            id: "1",
            date: '2016-05-02',
            price: "111",
            address: '上海市普陀区金沙江路 1518 弄',
            img: 'https://www.baidu.com/img/flexible/logo/pc/result.png',
            img2: '535815601192965'
          },
          {
            id: "2",
            date: '2016-05-02',
            price: "111",
            address: '上海市普陀区金沙江路 1518 弄',
            img: 'https://www.baidu.com/img/flexible/logo/pc/result.png',
            img2: '535815601192965'
          }
        ],
        number: 1,
        size: 10,
        totalElements: 1,
        totalPage: 1
      }
    }
  },
  mounted() {
  },
  methods: {
  }
}
</script>

<template>
  <div>
    <kt-table :columns="columns"
              :bodyData="bodyData"
              v-model:requestParam="requestParam"
              ref="ktTable"
    ></kt-table>
  </div>
</template>

<style scoped>

</style>